package com.la100.common.dao.core;

/**
 * 单个where条件
 * 
 * @author lishi
 * @date 2017-11-29 上午11:42:29
 */
public class WhereEntity {
	private String property;
	private WhereEnum whereEnum;
	private Object value;

	public WhereEntity(String property, WhereEnum whereEnum, Object value) {
		this.property = property;
		this.whereEnum = whereEnum;
		this.value = value;
	}

	public String getProperty() {
		return property;
	}

	public String getWhere() {
		return whereEnum.getValue();
	}

	public Object getValue() {
		return value;
	}
}
